<?php echo $html->docType('xhtml11') ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        <?php echo $html->charset(); ?>
        <title>
                <?php echo $title_for_layout; ?> / lemury.ru
        </title>
        <?php
                echo $html->meta('icon');

                //echo $html->css('cake.generic');
    //            echo $html->css('corner');
                echo $html->css('style');
                echo $html->css('lemuryru');
                //echo $html->css('test');
                echo $scripts_for_layout;
        ?>
	<script type="text/javascript" src="http://www.google.com/jsapi"></script>
	<script type="text/javascript">
		google.load("jquery", "1.4.1");
	</script>

<?php /*
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
	<script type="text/javascript" src="/js/jquery.corner.js"></script>
	<script type="text/javascript" src="/js/jquery.roundborder.js"></script>
	<script type="text/javascript">
		//$('#lemlogo').corner("round cc:#ddd");


		$(document).ready(function() {
			$('#lemlogo').roundborder();	
			$('#userpanel').roundborder();	
			$('#topmenu').roundborder();
			$('#login').roundborder();
			$('#uploadForm').roundborder();
		});

	</script>
*/ ?>

</head>
<body>
        <div id="container">
                <div id="header">
			<div id="lemlogo">
				<a href="/">lemury</a>
			</div>
			<div id="topmenu">
				<?php echo $this->element('lemury/topmenu') ?>
			</div>
			<?php echo $this->element('users/panel') ?>
                </div>
                <div id="content">

                        <?php $session->flash(); ?>

			<div id="leftside">
				<?php echo $content_for_layout ?>
			</div>

<?php /** 
			<div id="rightside">
			</div>
*/
?>

                </div>
                <div id="footer">
                        powered by rhrn &copy; <?php echo date("Y") ?>
                </div>
        </div>
        <?php echo $cakeDebug; ?>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-8569390-1");
pageTracker._trackPageview();
} catch(err) {}</script>

</body>
</html>
